//
/******************************************************
        File name:    main.c
        Author:       Bitat (陆叁柒)
        Gitee :       https://gitee.com/bitat
        Email :       737166381@qq.com
        History:      2023/1/6
*******************************************************/


#include <stdio.h>
int main()
{
    int i = 0;
    int max = 0;
    int arr[4] = {0};
    
    for(i=0; i<4; i++)
    {
        scanf("%d",&arr[i]);
        if(arr[i]>max)
            max = arr[i];
    }
    printf("%d\n",max);
    
    return 0;
}
